import request from '@/utils/request'

// 文件预览
export function preImageView(path) {
  return request({
    url: `/maintenance/FileContrller/preImageView/${path}`,
    method: 'get',
    port: { ENV_PORT: 8005 },
    ajaxType2: 'reqGet',
    responseType: 'arraybuffer'
  })
}
